package com.ymatou.iapi.settlement.service;

import com.ymt.base.YmatouBaseCall;
import com.ymttest.utils.EnvSetup;

/**
 * 生成确认收货后的退货退款所引起的退佣结算单接口Call FreeMaker Template自动生成代码
 */
public class GenerateRefundCommissionInvoiceCall extends YmatouBaseCall {
    private static String opurl = "/api/generateRefundCommissionInvoice";

    public GenerateRefundCommissionInvoiceCall() {
        super(EnvSetup.getSystemUrl("settlement_iapi"), opurl, "POST", "JSON");
    }

    @Override
    public void addDefHeader() {
        client.addHeader("Accept", "text/xml,text/javascript,text/html,application/json");
        client.addHeader("Content-Type", "application/json; charset=UTF-8");
    }
}
